﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MegavaniaX.Messaging.Events
{
    public struct PlaySoundEvent : IMegavaniaEvent
    {
        private MegavaniaEventType _eventType;
        private string[] _listenerNames;

        public MegavaniaEventType EventType { get { return _eventType; } private set { _eventType = value; } }
        public string[] ListenerNames { get { return _listenerNames; } private set { _listenerNames = value; } }
        public string SoundName;

        public PlaySoundEvent(MegavaniaEventType type, string soundName, params string[] listeners)
        {
            _eventType = type;
            _listenerNames = listeners;
            SoundName = soundName;
        }
    }
}
